import request from '@/utils/request'

// 查询楼栋日志列表
export function listBuildLog(query) {
  return request({
    url: '/base/BuildLog/list',
    method: 'get',
    params: query
  })
}

// 查询楼栋日志详细
export function getBuildLog(id) {
  return request({
    url: '/base/BuildLog/' + id,
    method: 'get'
  })
}

// 新增楼栋日志
export function addBuildLog(data) {
  return request({
    url: '/base/BuildLog',
    method: 'post',
    data: data
  })
}

// 修改楼栋日志
export function updateBuildLog(data) {
  return request({
    url: '/base/BuildLog',
    method: 'put',
    data: data
  })
}

// 删除楼栋日志
export function delBuildLog(id) {
  return request({
    url: '/base/BuildLog/' + id,
    method: 'delete'
  })
}
